package cn.wolfcode.trip.base.query;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class UserFansQuery extends QueryObject{
    private Long userId;
    private Long fanId;
    public String getUserAsFans(){
        if(userId==null){
        return "uf.user_id";
        }else{
        return "uf.fan_id";
        }
    }
}
